/*
*
* FILENAME:		main.c
* CREATED AT:		2012/May/5
* DECRITION:		main file for call kinds data structure demo
* 
* MODULE:		interface for data structure
* PLATFORM:		ubuntu-12.04/gcc-4.6.3
* AUTHOR:		incarnation-lee
* 
* ----------------------REVISION HISTROY------------------------
* No.	Date	Revised by	Function	Descrition
* 1	12/5/7	incar-lee	main		add linear_list module
*
*/


/* Standard C */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <errno.h>


/* linux related */
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>


/* user defined */
#include "externals.h"
#include "udgtd.h"
#include "errcode.h"


STATUS main()
{
	STATUS result = 0;

	result = linear_list_demo();
	if(__builtin_expect(!!result,0))
		exit(1);

	result = stack_demo();
	if(__builtin_expect(!!result,0))
		exit(1);
	return 0;
}
